import {get, post} from './../http'
import Vue from 'vue'

/**
 * 查询请求列表
 * @param params
 * @returns {Promise<any>}
 */
export const queryAppDataList = params => post(Vue.prototype.$config.base_path + '/report/queryAppDataList', params);


/**
 * 根据TraceId查询应用数据
 * @param url
 * @returns {*|Promise|Promise<any>}
 */
export const queryAppDataByTraceId = traceId => get(Vue.prototype.$config.base_path + "/report/queryAppDataByTraceId/" + traceId);

/**
 * 查询详细数据
 * @param dataId
 * @returns {*|Promise|Promise<any>}
 */
export const queryAppDataDetails = dataId => get(Vue.prototype.$config.base_path + "/report/queryAppDataDetails/" + dataId);

